// 轮播图公共代码
import { ref } from 'vue'
import { findBannerApi } from '@/api/home.js'

const userbanner = () => {
  const bannerList = ref([])
  findBannerApi().then(res => {
    bannerList.value = res.result
    // console.log(res)
  })
  return bannerList
}
export { userbanner }
